/*
 * Copyright (c) 2014, the Dart project authors.  Please see the AUTHORS file
 * for details. All rights reserved. Use of this source code is governed by a
 * BSD-style license that can be found in the LICENSE file.
 */
/**
 * @assertion 
 * @description auto-height multicol
 */
import "dart:html";
import "../../../../Utils/expect.dart";

const String htmlEL2 = r'''
    <p>There should be no scrollbar on this page.</p>
    <div id="mc" style="-webkit-columns:3; columns:3; overflow:auto; width:500px; orphans:1; widows:1;">
      <div style="height:100px;"></div>
    </div>
''';

void main() {
    document.body.appendHtml(htmlEL2);
    Element mc=document.getElementById("mc");
    Element ref=document.getElementById("ref");
    Expect.equals(34, mc.offsetHeight);
    Expect.equals(500, mc.scrollWidth);
}
